xen/x86: p2m-pod: Clean-up use of typesafe MFN
authorJulien Grall <julien.grall@arm.com>
Mon, 2 Oct 2017 15:40:03 +0000 (16:40 +0100)
committerGeorge Dunlap <george.dunlap@citrix.com>
Mon, 2 Oct 2017 15:40:03 +0000 (16:40 +0100)
commit014934dd94d1ecbb10799869e870d1a7d88c6de0
treebea928d2f473116542643c3774780fe5609d45ca
parent2c27049ca1bc1a54891af3bc376e0d572d41d2c2
xen/x86: p2m-pod: Clean-up use of typesafe MFN

Some unboxing/boxing can be avoided by using mfn_add(...) instead.

Signed-off-by: Julien Grall <julien.grall@arm.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: George Dunlap <george.dunlap@citrix.com>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
xen/arch/x86/mm/p2m-pod.c